package com.atguigu.Spring5.pojo;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author xiao hu die
 * @Date 2022/3/29 18:03
 * @Version 1.0
 */
public class Student {
 private String[] courses;
 private List<String> stringList;
 private Map<String,String> map;
 private Set<String> strings;
 private List<Course> courseList;

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    @Override
    public String toString() {
        return "Student{" +
                "courses=" + Arrays.toString(courses) +
                ", stringList=" + stringList +
                ", map=" + map +
                ", strings=" + strings +
                ", courseList=" + courseList +
                '}';
    }

    public Student() {
        System.out.println("Student的无参构造");
    }

    public String[] getCourses() {
        return courses;
    }

    public void setCourses(String[] courses) {
        this.courses = courses;
    }

    public List<String> getStringList() {
        return stringList;
    }

    public void setStringList(List<String> stringList) {
        this.stringList = stringList;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Set<String> getStrings() {
        return strings;
    }

    public void setStrings(Set<String> strings) {
        this.strings = strings;
    }
}
